package com.haredot.service;

import com.haredot.entity.Advert;
import com.haredot.vo.R;

import java.util.List;

public interface AdvertService {

    R<?> queryAverts();

    R<?> saveAdvert(Advert advert);

    R<?> updateAdvert(Advert advert);

    R<?> removeById(Long id);

    R<?> removeByIds(List<Long> ids);
}
